<template>
  <div id="schoolIndex">
  	<div class="seach">
  		<router-link :to="{ path: '/Search' }"><img src="../assets/seach.png"/></router-link>
  	</div>
  	<div class="div_add">
  		<router-link :to="{ path: '/System' }"><img src="../assets/add.png"/></router-link>
  	</div>
    <!--底部-->
    <CommonFooter></CommonFooter>
    <!--底部end-->
  </div>
</template>

<script>
import CommonFooter from './CommonFooter'
/* eslint-disable */
export default {
  name: 'schoolIndex',
  components: {
    CommonFooter
},
created () {
  this.init()
},
watch: {
  '$route': 'init'
},
methods:{
  init(){
      this.$store.state.system.title = '学校管理'
  }
}
}
</script>

<style>
	.seach{
		margin-left: 1.2rem;
		float: left;
		margin-top: 55%;
	}
	.div_add{
		margin-left: 1.5rem;
		float: left;
		margin-top: 55%;
	}
	.seach img{
		width: 1.56rem;
		height: 1.56rem;
		display: block;
		margin: 0 auto;
	}
	.div_add img{
		width: 1.56rem;
		height: 1.56rem;
		display: block;
		margin: 0 auto;
	}
</style>